﻿using ShuiLing.Domain.Entities.Abstractions;

namespace ShuiLing.Domain.Entities.Imp;

[Serializable]
public abstract class Entity : IEntity
{
    protected Entity()
    {
    }

    /// <inheritdoc/>
    public override string ToString()
    {
        return $"[ENTITY: {GetType().Name}] Keys = {GetKeys()}";
    }

    public abstract object[]? GetKeys();
}
